#ifndef WAVESHAPE1_SOFTCLIP_H_
#define WAVESHAPE1_SOFTCLIP_H_

#include <Arduino.h>
#include "mozzi_pgmspace.h"

/* table for waveshaper to impose soft clipping
*/

#define WAVESHAPE1_SOFTCLIP_NUM_CELLS 256
#define WAVESHAPE1_SOFTCLIP_SAMPLERATE 256

CONSTTABLE_STORAGE(int8_t) WAVESHAPE1_SOFTCLIP_DATA []  =
        {
             	-127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, 
	-127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, 
	-127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, 
	-127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, 
	-127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, 
	-127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, 
	-127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, 
	-127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, 
	-127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, -127, 
	-127, -127, -126, -127, -126, -125, -124, -123, -121, -120, -118, -116, 
	-111, -108, -102, -94, -80, -62, -41, -17, 6, 31, 53, 72, 
	87, 99, 107, 112, 116, 118, 119, 121, 122, 123, 124, 125, 
	126, 126, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 
	127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 
	127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 
	127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 
	127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 
	127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 
	127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 
	127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 
	127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 
	127, 127, 127, 127, 
        };

#endif /* WAVESHAPE1_SOFTCLIP_H_ */
